﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="main.aspx.cs" Inherits="图书管理系统.WebForm2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:GridView ID="GridView1" runat="server" Width="201px" AutoGenerateColumns="False" DataKeyNames="ISBN" DataSourceID="SqlDataSource1" AllowPaging="True">
        <Columns>
            <asp:BoundField DataField="bookname" HeaderText="bookname" SortExpression="bookname" />
            <asp:BoundField DataField="ISBN" HeaderText="ISBN" ReadOnly="True" SortExpression="ISBN" />
            <asp:BoundField DataField="writer" HeaderText="writer" SortExpression="writer" />
            <asp:BoundField DataField="translator" HeaderText="translator" SortExpression="translator" />
            <asp:BoundField DataField="press" HeaderText="press" SortExpression="press" />
            <asp:BoundField DataField="publicationdate" HeaderText="publicationdate" SortExpression="publicationdate" />
            <asp:BoundField DataField="number" HeaderText="number" SortExpression="number" />
            <asp:BoundField DataField="collection" HeaderText="collection" SortExpression="collection" />
            <asp:BoundField DataField="state" HeaderText="state" SortExpression="state" />
            <asp:BoundField DataField="style" HeaderText="style" SortExpression="style" />
        </Columns>
    </asp:GridView>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:dhd2014112136ConnectionString %>" SelectCommand="SELECT * FROM [book]"></asp:SqlDataSource>
</asp:Content>
